package chances.epg.entity.biz;

import chances.epg.entity.AccessEntity;

public class Biz extends AccessEntity {
	public static final int ENABLE_STATUS = 1;
    /**
     * serialVersionUID.
     */
    private static final long serialVersionUID = -751916698220424530L;
    private String rootCode;// 根节点的code
    private String title;// 标题
    private String subTitle;// 副标题
    private String code;
    private String refBizCode;

    private int enableStatus;// 状态
    private int orderNumber;// 顺序号

    private String categoryCode;// 对应编排栏目的编码

    private String parentCode;// 父展示栏目code
    private String locateStr;// 定位字符串

    private String icon;
    private String externalUrl;// 外部链接

    private String description;
    private String background;
    private String bigIcon;
    
    private String templateType;

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description
     *            the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * @return the background
     */
    public String getBackground() {
        return background;
    }

    /**
     * @param background
     *            the background to set
     */
    public void setBackground(String background) {
        this.background = background;
    }

    /**
     * @return the bigIcon
     */
    public String getBigIcon() {
        return bigIcon;
    }

    /**
     * @param bigIcon
     *            the bigIcon to set
     */
    public void setBigIcon(String bigIcon) {
        this.bigIcon = bigIcon;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getLocateStr() {
        return locateStr;
    }

    public void setLocateStr(String locateStr) {
        this.locateStr = locateStr;
    }

    public String getRootCode() {
        return rootCode;
    }

    public void setRootCode(String rootCode) {
        this.rootCode = rootCode;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public int getEnableStatus() {
        return enableStatus;
    }

    public void setEnableStatus(int enableStatus) {
        this.enableStatus = enableStatus;
    }

    public int getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(int orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getExternalUrl() {
        return externalUrl;
    }

    public void setExternalUrl(String externalUrl) {
        this.externalUrl = externalUrl;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getRefBizCode() {
        return refBizCode;
    }

    public void setRefBizCode(String refBizCode) {
        this.refBizCode = refBizCode;
    }

	public String getTemplateType() {
		return templateType;
	}

	public void setTemplateType(String templateType) {
		this.templateType = templateType;
	}
	
	public boolean isEnable() {
		return ENABLE_STATUS == this.enableStatus;
	}
}
